import request from '@/utils/request'

// 获取运单分页数据
export function getOrderManagerList(data) {
  return request({
    url: 'manager/transport-order-manager/page',
    method: 'POST',
    data
  })
}

// 获取运单统计
export function getOrderCount() {
  return request({
    url: `manager/transport-order-manager/count`,
    method: 'GET'
  })
}

// 获取树状机构信息
export function getTree() {
  return request({
    url: `/manager/business-hall/tree`
  })
}

// 获取省市区

export function getProvince(params) {
  return request({
    url: `/manager/areas/children`,
    method: 'get',
    params

  })
}
